﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Microsoft.Office.Tools.Ribbon;

namespace Quellenverwaltung
{
    public partial class SourcesRibbon
    {
        private void SourcesRibbon_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void buttonAddBook_Click(object sender, RibbonControlEventArgs e)
        {
            new Entwicklungskomponenten.BarcodeWPFHost().Visible = true;
        }

        private void buttonAddOnlineSource_Click(object sender, RibbonControlEventArgs e)
        {
            new UI.Forms.WebsiteHost().Visible = true;
        }

        private void buttonInformation_Click(object sender, RibbonControlEventArgs e)
        {
            new UI.Forms.InfoHost().Visible = true;
        }

        private void buttonConfiguration_Click(object sender, RibbonControlEventArgs e)
        {
            new UI.Forms.ConfigurationHost().Visible = true;
        }

        private void buttonAddJournal_Click(object sender, RibbonControlEventArgs e)
        {
            new UI.Forms.JournalHost().Visible = true;
        }
    }
}
